package engine.newUi
{
	
	import engine.data.ModelLocator;
	import engine.data.View;
	import engine.data.ViewObject;
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	import newx.com.config.StaticIni;
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	import newx.com.control.window.NxWindow;

	/**
	/* @SkillUI
	/* @generate by uieditor
	*/
	public class SkillUI extends BaseUI
	{

		public var btn_out		:NxButton;
		public var lab_skillCount:NxLabel;
		public var skillEff		:MovieClip;
		private var control:SkillLogic;
		public var skill_mc:NxClip;
		public var jm_mc:NxClip;
		public var skillView:NxViewGroup;
		public var bg:NxClip;
		public var btn_left:NxButton;
		public var btn_right:NxButton;
//		public var btn_help:NxButton;

		public var btn_close:NxButton;
		public var skill_tipPic:MovieClip;
		public function SkillUI(popupUI:Boolean=true)
		{
			control=SkillLogic.getInstance();
			super();
		}
		
		override public function Init():void
		{
			skill_tipPic.source = "res/png/gift_0.png";
			btn_close.skin = "Button_close";
//			skill_mc.source = "res/swf/skillui.swf";
//			bg.source = "res/jpg/skillBg.jpg";
			skillEff.visible = false;
			skillView.addChild(skillEff);
			control.Init();
		}
		
		override protected function  BeforeShow():void
		{
			control.BeforeShow();
		}
			
		override protected function AfterHide():void
		{
			control.AfterHide();
		}
			
	}
}
